import cyaron
from cyaron.utils import ati
from Utilities import logger

testdata = cyaron.IO(input_file='/tmp/CodeTmp/testdata.in',
                     disable_output=True)

n = int(1e2)
# m = int(n * (n - 1) / 2)
m = int(n - 1)

# graph = cyaron.Graph.graph(n,
#                            12,
#                            weight_limit=20,
#                            repeated_edges=False,
#                            self_loop=False)
# graph = cyaron.Graph.graph(n,
#                            m,
#                            weight_limit=100000000,
#                            repeated_edges=False,
#                            self_loop=False)

graph = cyaron.Graph.chain(n)
testdata.input_writeln(n, m)
# string = cyaron.String.random(n)
# testdata.input_writeln(string)
testdata.input_writeln(graph)